package cn.dogeye.dao;

import cn.dogeye.common.cache.MybatisPlusRedisCache;
import cn.dogeye.entity.SysAuth;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.CacheNamespace;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author watson
 * @since 2021-12-03
 */
@Repository
@CacheNamespace(implementation= MybatisPlusRedisCache.class,eviction=MybatisPlusRedisCache.class)
public interface SysAuthDao extends BaseMapper<SysAuth> {
    List<SysAuth> getAuth(Integer id);
    void delAuthByIds(Map<String,List<String>> maps);
}
